package com.atguigu.petstore.app.service;

import com.atguigu.petstore.app.vo.LoginParamVo;
import com.atguigu.petstore.member.entity.MemberInfo;

/**
 * @author lfy
 * @Description
 * @create 2023-09-27 14:11
 */
public interface LoginService {
    String login(LoginParamVo param);

    /**
     * 根据用户令牌，获取用户信息
     * @param token
     * @return
     */
    MemberInfo getUserInfo(String token);
}
